package com.skynet.backend.auth.sys.dao;

import com.skynet.backend.auth.sys.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper()
public interface SysUserDao extends BaseDao<SysUserEntity>{

    /**
     * 查询用户的所有权限
     * @param userId 用户ID
     */
    List<String> queryAllMenuCodeByUserId(Long userId);


}
